/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-27
 * Time: 21:20
 */
public class Test {
    public static void main(String[] args) {
        MList mList = new MList();
        //mList.createList();
        mList.addLast(1);
        mList.addLast(2);
        mList.addLast(1);
        mList.addLast(1);
        mList.addLast(1);

        mList.listDisplay();

        //mList.addIndex(100,1);
        mList.listDisplay();

        //System.out.println(mList.contains(100));

        mList.removeAllkey(1);
        mList.listDisplay();


        mList.clear();




    }





}
